package com.xxl.job.executor.service.jobhandler;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.log.XxlJobLogger;
import org.springframework.stereotype.Component;

/**
 *@author xiejiawei
 *@Date 2020/6/18
 *@Time 18:02
 */
@Component
public class GlueXxlJob extends IJobHandler {
    @Override
    public ReturnT<String> execute(String param) throws Exception {
        System.out.println("Glue测试执行成功");
        XxlJobLogger.log("Glue测试执行成功");
        return ReturnT.SUCCESS;
    }
}
